package com.checking.attendance.dao;

import com.checking.attendance.pojo.Course;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CourseMapper {
    int deleteByPrimaryKey(String id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);



    List<Course> selectByPrimaryCourseAll();

    List<Course> queryCourseInfoAll(String uesrId);

    List<Course> queryStudentCourseInfoAll(Course record);
}